package NowCoder.JavaSE.Intantiate;
class HelloA{
    HelloB b = new HelloB();
    public HelloA()
    {
        System.out.println("I am A class ");
    }

    static
    {
        System.out.println("static A");
    }
}

class HelloB{
    public HelloB(){
        System.out.println("I am B class ");
    }
}
public class IntantiateTest extends HelloA{
    HelloB b = new HelloB();
    public IntantiateTest()
    {
        System.out.println("I am C class ");
    }

    static {
        System.out.println("static C");
    }

    public static void main(String[] args) {
        new IntantiateTest();
    }
}
